#include <iostream>
#include "glog/logging.h"
#include "gtest/gtest.h"

#define LOG_ERROR LOG(ERROR)
#define LOG_WARNING LOG(WARNING)
#define LOG_INFO LOG(INFO)

int main(int argc, char **argv)
{
    google::InitGoogleLogging(argv[0]);
    FLAGS_stderrthreshold = 2;
    LOG_ERROR << "hello, glog";
    LOG_WARNING << "hello, glog";
    LOG_INFO << "hello, glog";

    testing::InitGoogleTest(&argc, argv);
    return RUN_ALL_TESTS();
}